print('你好,python')
msg = 'python'
print('你好,' + msg)
print('你好,%s' % msg)
msg01 = '桃李不言'
msg02 = '下自成蹊'
print('slogan >>> %s,%s' % (msg01, msg02))
day = 365
print('一年有%d个日出' % day)
PI = 3.1415926
print('圆周率PI的值 >>> %f' % PI)
print('圆周率PI的值 >>> %.2f' % PI)
print('输出百分号:%s' % '%')
percent = 25
print('今年营业额比去年提升了%d%%' % percent )
percent=25.5
print('今年营业额比去年提升了%.2f%%' % percent )

